package com.zhongwang.business.module.quoteManage.quoteManageModel;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhongwang.business.gen.entity.QuotationMain;
import lombok.Data;


import java.math.BigDecimal;
import java.util.Date;

@Data
public class QuotationMainModel extends QuotationMain {
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date quoteDate;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date quoteGentDate;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date qttRevDate;

    private String proName; //物料名称

    private String proNames;//项目名称

    private String proCode; //项目编号

    private Integer proQty; //项目数量

    private String proUnit;//项目单位

    private Integer budgetProcessStatus; //预算任务状态

    private Integer quoteProcessStatus;//报价任务状态

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date assignTime;//任务下达时间

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date quoteStartDate; //任务起始日期（用于搜索）

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date quoteEndDate;//任务结束日期（用于搜索）

    private Integer quoteTaskId;//报价任务ID

    private String quoteTaskIds;//报价任务批量ID（用于选择多个报价任务创建报价单）

    private BigDecimal totalAmountIncludedTax;//报价单总金额含税

    private String totalAmtIncTaxInWords;//报价单总金额含税大写

    private Integer quoteAvaStatus;//报价单可用状态

    private String remark;//下达任务标记备注

    private String groupName; //任务组名

//    private String tasksIdAdd; //列表增加的任务id
//
//    private String tasksIdRemove; //列表删除的任务id

    private String taskIds;//添加任务id

    private Integer consInfoId;//用户id

    private Integer quotationQty;//报价主单所对应的报价子单数量

    private String appDetail;//审核明细

    private Integer nowNode;//当前审批节点

    private Integer nextNode;//下一节点

    private Integer preNode;//上一节点

    private String appRemark;//审核意见

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date appDate;//审核日期

    private Integer verifyInfoId;//登录用户的审核信息表id

    private Integer appStatus; //节点审核状态

    private String appName;//审批人姓名

    private Integer qttItemQty;//报价款项数量

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date revLastDate;

    private Integer qttHisQty;

    private String account;//账户名

    private Integer appProStatus;//审核过程状态

    private String projectName; //查询审核列表用：审核条目

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date appTime; //查询审核列表用：审核时间

    private String name; //查询审核列表用：审核人姓名

    private Integer complTaskQty;//报价单内含已完结项目数量

    private Integer contractId;
}